#include "stdafx.h"
#include "ASGuiCenter.h"
#include "ASGuiPlugin.h"


static ASGuiCenterApi				g_stuDKGuiCenterApi;
void _initDKGuiCenter_()
{
	g_stuDKGuiCenterApi.registerWidget = _registerWidget_;
	g_stuDKGuiCenterApi.notifyWidget = _notifyWidget_;
}


//////////////////////////////////////////////////////////////////////////
static AppModule			g_pModule ;
void  _Init(FUNC_GETINTERFACEBANK fun)
{
	_initDKGuiCenter_();
}

void _Register(void *pPluginManager)
{

}

void _Unload()
{
}

AFX_EXT_EXTERN  AppModule* GetAppModule()
{
	g_pModule.InitModule = _Init;
	g_pModule.RegisterModule = _Register;
	g_pModule.UnInitModule = _Unload;

	return &g_pModule;
}

AFX_EXT_EXTERN	ASGuiCenterApi*	GetAppModuleInterface()
{
	return &g_stuDKGuiCenterApi;
}

